//
//  CityListParser.h
//  eBars
//
//  Created by Thanh Hai Nguyen on 4/23/12.
//  Copyright (c) 2012 _eBars GbR_. All rights reserved.
//

#import <Foundation/Foundation.h>

@protocol CityListParserDelegate <NSObject>

- (void)didEndGetCities:(NSArray*)resultDict success:(BOOL) yn;

@end

@interface CityListParser : NSObject{
    id <CityListParserDelegate> delegate;
    NSArray *resultDict;
    NSMutableData *resultData;
    NSURLConnection *theConnection;
}

@property (nonatomic, retain) NSArray *resultDict;
@property (nonatomic, retain) NSMutableData *resultData;
@property (nonatomic, assign) id <CityListParserDelegate> delegate;

- (void)getCitiesInState:(NSString*)stateId withDelegate:(id) theDelegate;

@end
